
var JSFiles =  new Array(
		"model/modelUtil.js",
		"view.model/itemsViewModel.js",
		"view.model/pageSwitcher.js",
		"view.model/userViewModel.js",
		"view.model/viewModelUtils.js",  
		"view.model/statisticsViewModel.js",  
		"view.model/bidsViewModel.js",
		"model/bidsModel.js",
		"model/staticticsModel.js",  
		"model/itemsModel.js",
		"model/searchModel.js",
		"model/userModel.js"
		);

function includeJSFiles(){
	var randomNum = '?' + Math.random();
for(var i = 0; i < JSFiles.length; i++){
	var script = document.createElement('script');
	script.setAttribute("src", JSFiles[i] + randomNum);
	document.body.appendChild(script);
}
}

includeJSFiles();